package ru.rchervot.sanasar.client.view;

import java.util.ArrayList;

import ru.rchervot.sanasar.client.model.FactoryQuery;
import ru.rchervot.sanasar.client.rpc.RPCServiceAsync;

import com.google.gwt.event.shared.HandlerManager;


public abstract class AbstractFactoryFiltersPanelView implements FactoryFiltersPanelView {

	protected final HandlerManager eventBus;
	protected final RPCServiceAsync service;
	protected final FactoryQuery factoryQuery;
	
	protected final ArrayList<String> allFiltersNames = new ArrayList<String>();
	protected final ArrayList<String> allFiltersNamesHuman = new ArrayList<String>();
	protected final ArrayList<String> orderByItems = new ArrayList<String>();
	protected final ArrayList<String> matchItems = new ArrayList<String>();
	protected final ArrayList<AbstractFilterView> filtersViews = new ArrayList<AbstractFilterView>();
	
	AbstractFactoryFiltersPanelView(
			HandlerManager eventBus, RPCServiceAsync service, FactoryQuery factoryQuery) {
		this.eventBus = eventBus;
		this.service = service;
		this.factoryQuery = factoryQuery;
	}
	
}
